<%@ page contentType="text/html; charset=UTF-8" language="java"
	pageEncoding="UTF-8"%>
<%@ include file="../include/corptaglibs.jsp"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title></title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="-1000">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<LINK href="${ctx }/corp/css/css.css" type=text/css rel=stylesheet>	
		<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/util.js'></script>
	<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/engine.js'></script>
	<script type='text/javascript'
		src='<%=request.getContextPath()%>/dwr/interface/sysDwr.js'></script>
</head>		
<jsp:include flush="true" page="js.jsp"></jsp:include>
<body>
<div id="Layer2" class=Layer2 ></div>
<html:form action="publication.do" method="post"  >
<html:hidden property="m" value="contentrecycle" />
<html:hidden property="publication.publicationid"  />
<input type="hidden" name="key" />
<table width="100%" border="0">
<tr>
<td width="12">
</td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
 <tr>
    <td height="10" colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td width="8%" align="right"><img src="${ctx }/corp/images/pic_shutu.gif" width="64" height="48" /></td>
    <td width="11%" align="left" valign="middle"  background="${ctx }/corp/images/pic_shutu1.gif"><span class="h3">电子书管理</span></td>
    <td colspan="2">&nbsp;</td>
  </tr>
  <tr>
    <td height="25" colspan="4">&nbsp;</td>
  </tr>
  <tr>
    <td height="25" colspan="3"><span class="h3">&nbsp;<img src="${ctx }/corp/images/pic_biao1.gif" width="11" height="11" />&nbsp;<span  id="title">已删除电子书列表</span></span>
	  &nbsp;&nbsp; 	<html:radio  property="flag"  value="0" style="cursor:hand"  onclick="location.href('${ctx }/corp/publication.do?m=recycle&flag='+this.value);"/>
						电子书回收站 
						<html:radio property="flag"  value="1" style="cursor:hand"  onclick="location.href('${ctx }/corp/publication.do?m=contentrecycle&flag='+this.value)"/>
						
						电子书内容回收站
	</td>
	 <td width="57%" height="25"  align="right">					 
	  <input type="checkbox" name="allselect" id="allselect" onclick="selectall(this.id);" />全选  
						      <input type="button" name="deleteselected" id="deleteselected" style="cursor:hand;"  value="还原所选" onclick="morerestyle()"/>
							  <input type="button" name="deleteselected" id="deleteselected" style="cursor:hand;"  value="彻底删除所选" onclick="morerealdelete();"/>
	                            <input type="button" value="搜索" style="cursor:hand;"  onclick="search();"/>
	   <c:if test="${publicationBean.flag==0}">
                      <script>
                      title.innerHTML="已删除电子书列表";
                      
                      </script>
                      </c:if>
                       <c:if test="${publicationBean.flag==1}">
                        <script>
                      title.innerHTML="已删除电子书内容列表";
                     
                        </script>
                      </c:if>  
	  </td>
  </tr>
</table>

</td>
<td width="15">
</td>
</tr>
<tr>
<td>
</td>
<td>
<table width="100%" border="0"  cellpadding="0" cellspacing="1" bordercolor="#CCCCCC" bgcolor="#999999" style="border:1px solid #949494">
  <tr class=tb_1>
    <td width="11%" height="25" align="center" class="h3">选择</td>
    <td width="29%" height="25" align="center" class="h3">电子书</td>
    <td width="12%" height="25" align="center" class="h3">标题</td>
    <td width="12%" height="25" align="center" class="h3">类型</td>
    <td width="12%" height="25" align="center" class="h3">出版物行业</td>
    <td width="12%" height="25" align="center" class="h3">出版物类型</td>
    <td width="12%" align="center" class="h3">审核状态</td>
    <td width="12%" height="25" align="center" class="h3">操作</td>
  </tr>
  <c:if test="${!empty requestScope.publicationpage}">
   <c:forEach var="publication" items="${requestScope.publicationpage}">  
  <tr>
    <td align="center" bgcolor="#FFFFFF"><input type="checkbox"  name="pubid"  value="&amp;publicationid=${publication.publicationid}"/></td>
   <td   style="height:120px;"  valign="middle" align="center" bgcolor="#FFFFFF"><table width="60"   border="0" cellpadding="2" cellspacing="2" style="border:2px solid #949494;">
      <tr>
        <td bgcolor="#FFFFFF" valign="middle"><img  onmouseout="closelayer(false);"  onmouseover="showpic(this.src);"  src="${ctx}/${requestScope.imagepath}${publication.pubpath }/${requestScope.thumbpath}" width="60"  style="height:80"/></td>
      </tr>
    </table></td>
    <td align="center" bgcolor="#FFFFFF"><span class="h5">${publication.title}</span></td>
    <td align="center" bgcolor="#FFFFFF"><span class="h5">
	<c:choose>
					  <c:when test="${publication.pubtype==1}">
					   单页					  </c:when>
					  <c:otherwise>
					   双页					  </c:otherwise>
					  </c:choose>	
	
	</span></td>
    <td align="center" bgcolor="#FFFFFF"><span class="h5">
	 <c:forEach var="publishercategory" items="${requestScope.publishercategory}">
					    <c:if test="${publishercategory.publishcategoryid==publication.publishcategoryid}">
						  ${publishercategory.name}						</c:if>
					  </c:forEach>	
	</span></td>
    <td align="center" bgcolor="#FFFFFF"> <span class="h5"><c:forEach var="publishtype" items="${requestScope.publishtype}">
                          
							 <c:if test="${publishtype.publishtypeid==publication.publishtypeid}">
						  ${publishtype.name}						</c:if>
                          </c:forEach></span>	</td>
    <td align="center" bgcolor="#FFFFFF"> <span class="h5"><c:choose>
					  <c:when test="${publication.isauditing==0}">
					   未审核				  </c:when>
					    <c:when test="${publication.isauditing==1}">
					   审核已通过			 
					    </c:when>
					  <c:otherwise>
					   审核未通过				
					     </c:otherwise>
					  </c:choose>	</span></td>
    <td align="center" bgcolor="#FFFFFF"><table width="100" border="0" cellpadding="3" cellspacing="3">
      <tr>
        <td><table width="70" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="4" align="left"><img src="${ctx }/corp/images/anniu_left.gif" width="4" height="22" /></td>
            <td width="84" align="center" background="${ctx }/corp/images/anniu_cenner.gif" class="h4">
			<a href="javascript:displaycontent('${publication.publicationid}')">查 看</a></td>
            <td width="4" align="right"><img src="${ctx }/corp/images/anniu_right.gif" width="4" height="22" /></td>
          </tr>
        </table></td>
        <td><table width="100" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="4" align="left"><img src="${ctx }/corp/images/anniu_left.gif" width="4" height="22" /></td>
            <td width="84" align="center" background="${ctx }/corp/images/anniu_cenner.gif" class="h4"><a href="javascript:getcontent('${ctx }/corp/publication.do?m=getcontent&amp;publicationid=${publication.publicationid }&amp;pubpath=${publication.pubpath }')">内容列表</a></td>
            <td width="4" align="right"><img src="${ctx }/corp/images/anniu_right.gif" width="4" height="22" /></td>
          </tr>
        </table></td>
       
      </tr>
      <tr>
        <td><table width="70" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="4" align="left"><img src="${ctx }/corp/images/anniu_left.gif" width="4" height="22" /></td>
            <td width="84" align="center" background="${ctx }/corp/images/anniu_cenner.gif" class="h4"><a
																href="javascript:realdelete('${ctx }/corp/publication.do?m=deletecontentbypubid&amp;publicationid=${publication.publicationid}')"
																onclick="return window.confirm('确定要彻底删除吗?');">删除内容</a></td>
            <td width="4" align="right"><img src="${ctx }/corp/images/anniu_right.gif" width="4" height="22" /></td>
          </tr>
        </table></td>
        <td><table width="100" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="4" align="left"><img src="${ctx }/corp/images/anniu_left.gif" width="4" height="22" /></td>
            <td width="84" align="center" background="${ctx }/corp/images/anniu_cenner.gif" class="h4"><a href="javascript:restyle('${ctx }/corp/publication.do?m=recovercontentbypubid&amp;publicationid=${publication.publicationid }')">还原内容</a></td>
            <td width="4" align="right"><img src="${ctx }/corp/images/anniu_right.gif" width="4" height="22" /></td>
          </tr>
        </table></td>
       
      </tr>
    </table></td>
  </tr>
     </c:forEach>
				 	<tr>
					  <td align="center" colspan="8"  bgcolor="#FFFFFF"> 
					  
					  <mytag:page name="pageNavigation" />					 </td>
	  </tr>
		   </c:if>
				   <c:if test="${empty requestScope.publicationpage}">
				     <tr>
                      <td  align="center" colspan="8"  bgcolor="#FFFFFF">                     
                     <font color="red"> <c:out value="没有您要的数据"></c:out></font>					  </td>
					   </tr></c:if>
</table>
</td>
</tr>
</table>
 <c:if test="${!empty requestScope.publicationpage }">
   <mytag:showpublicationdetail publishtypelist="${requestScope.publishtype}"  imgurl="${ctx}/corp/images/"  publicationlist="${requestScope.publicationpage}" publishercategorylist="${requestScope.publishercategory}"></mytag:showpublicationdetail>
  </c:if>
</html:form>
</body>
</html:html>